const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true
})
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');

module.exports = {
  configureWebpack: {
    resolve: {
      extensions: ['.js', '.json', '.ts', '.vue'],
    },
    plugins: [
      new ForkTsCheckerWebpackPlugin({
        typescript: {
          configFile: '../my-vue3-app/tsconfig.json', // 确保这里的路径是正确的
        },
      }),
    ],
  },
};
